package com.tengju.data.domain.model.service;

import com.tengju.data.domain.model.report.AchievementBonusDateConfig;

import java.time.LocalDate;

/**
 * @author chenhang
 * @Date 2021/9/18
 */

public interface AchievementBonusDateConfigService {


    AchievementBonusDateConfig queryByCalDateOrDefault(LocalDate queryDate);

    AchievementBonusDateConfig queryByCalDate(LocalDate queryDate);

    AchievementBonusDateConfig queryByDateKeyOrDefault(String dateKey, LocalDate curDate);

    AchievementBonusDateConfig queryByDateKey(String dateKey);

    AchievementBonusDateConfig queryByLastCalDate(LocalDate toLocalDate);

    AchievementBonusDateConfig queryBySettleDate(LocalDate queryDate);

    void save(AchievementBonusDateConfig dateConfig);

    AchievementBonusDateConfig queryByRiskDate(LocalDate queryDate);
}
